<?php 
	if(isset($_POST['dangnhap']))
	{
		$user=$_POST['taikhoan'];
		$pass=$_POST['matkhau'];
		dangnhap::KiemTraDangNhap($user,$pass);
	}
?>

<div class="right_tieude">
 	 <img class="hinhds" src="./Picture/login.jpg"   />
            <h3>Đăng nhập</h3>
</div>
<div class="right_noidung">
    <form action="" method="post">
        <p>
            <label>Tài khoản:</label>
            <input type="text" name="taikhoan"/>
        </p>
        <p>
            <label>Mật khẩu:</label>
            <input type="password" name="matkhau"/>
        </p>
        <span>
            <a href="./index.php?obj=dangky"><input type="button" value="Đăng ký" /></a>
            <a href="./index.php?obj=dangnhap"><input type="submit" value="Đăng nhập" name="dangnhap"/></a>
        </span>
    </form>
</div>